﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using BooksOnline.Models.Entities.Interfaces;

namespace BooksOnline.Models.Entities
{
    public class Purchase : IIdentity
    {
        public virtual Guid Id { get; set; }
        public virtual DateTime Date { get; set; }
        public virtual int Quantity { get; set; }
        public virtual double Shipping { get; set; }
        public virtual double ServiceTax { get; set; }

        public virtual Customer Customer { get; set; }
        public virtual Book Book { get; set; }
        public virtual Distributor Distributor { get; set; }
    }
}